function [shuffledP,shuffledT ] = shuffleinput(P_,  T_)
p = randperm(size(T_,2));
shuffledP = P_(:,p);
shuffledT = T_(:,p);